/*
 * @Author: Marte
 * @Date:   2020-07-07 13:20:29
 * @Last Modified by:   Marte
 * @Last Modified time: 2020-07-08 13:39:22
 */
'use strict';
import asyncComponent from "@/utils/asyncLoad";
const tabRoutes = [{
        name: 'home',
        path: '/home',
        component: asyncComponent(() =>
            import ("@/views/home/index.vue")),
        meta: {
            keepAlive: true
        }
    },
    {
        name: 'discount_sy',
        path: '/discount_sy', //type_id: 大类，category_id:类别,sort_id:排序,title:标题
        component: asyncComponent(() =>
            import ("@/views/free_sy/index.vue")),
        meta: {
            keepAlive: false
        }
    },
    {
        name: 'free_sy',
        path: '/free_sy', //type_id: 大类，category_id:类别,sort_id:排序,title:标题
        component: asyncComponent(() =>
            import ("@/views/free_sy/index.vue")),
        meta: {
            keepAlive: false
        }
    },
    {
        name: 'invite',
        path: '/invite',
        component: asyncComponent(() =>
            import ("@/views/invite/invite_index.vue")),
        meta: {
            keepAlive: true
        }
    },
    {
        name: 'my',
        path: '/my',
        component: () =>
            import ("@/views/my/index.vue"),
        meta: {
            keepAlive: true
        }
    }
];
export default tabRoutes;